@import "../../../styles/basis.scss";

.li-tabs_title {
  &-box {
    position: relative;
    display: flex;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    background-color: white;
    box-sizing: border-box;
    overflow: -moz-scrollbars-none;

    &::-webkit-scrollbar {
      display: none;
      width: 0 !important;
      height: 0 !important;
      background: transparent;
    }
  }

  &-item {
    position: relative;
    display: inline-block;
    flex: 1;
    padding: 20px;
    font-size: 28px;
    color: #666;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;

    &-line {
      display: block;
      position: absolute;
      left: 0;
      bottom: 0;
      height: 2PX;
      transition: all .15s;
      transform: scaleX(0);
      background-color: #BA241B;
    }

    &-dot {
      position: absolute;
      right: 0;
      top: 35%;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: #BA241B;
    }

    &-badge {
      position: absolute;
      right: -26px;
      top: 30%;
      color: white;
      line-height: 24px;
      padding: 0 7px;
      font-size: 18px;
      font-weight: 400;
      border-radius: 12px;
      background-color: #BA241B;
    }

    &-active {
      color: #BA241B;

      .li-tabs_title-item-line {
        transform: scaleX(1);
        width: 100%;
      }

    }
  }
}